home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / steprat1.zip / STEPRATE.DOC < prev   
Text File  |  1989-02-08  |  5KB  |  159 lines

  1.                                 Noisy Drives
  2.                           or Don't You Growl at me
  3.  
  4.  
  5.  
  6. One of the many annoying features of the IBM PC and certain compatibles is 
  7. the noise generated by the floppy disk drives.  I have found almost 
  8. invariably that the fault is not in the drive but in some brain damage 
  9. associated with the original design of the system.  Apparently when Big Blue 
  10. first designed the PC, they were anticipating using the "worst case" floppy 
  11. disk drives.  These drives were to be so poorly designed (i.e. cheap) that 
  12. they had to use a 9 millisecond track to track step rate.  Thus, and from 
  13. then on, all disk drives, no matter how good, were to be driven at this slow 
  14. rate.  But then, who ever accused the Big Blue Mother of using good disk 
  15. drives?
  16.  
  17. Unfortunately, (or fortunately as you view it) most decent drives are 
  18. designed to run at a stepping rate of at least 6 millisceonds (track to 
  19. track).  When these drives are run at lower than their rated stepping rate, 
  20. they often sound like thrashing machines.  Resonance sets up and the system 
  21. will almost walk off the table.
  22.  
  23. Unfortunately, the cloners in their thirst for 100% compatibility stuck with 
  24. the 9 ms. step rate.  Thus, a lot of the "clones" also sound like thrashing 
  25. machines.   
  26.  
  27. Most (if not all) of the floppy drives manufactured today are designed to 
  28. operate at a 6 ms. step rate.  Some of the full height drives, such as the 
  29. MPI 52A, while rated at 5 ms will operate dependably (and very quietly) at 3 
  30. ms.  All of the half height drives that I am aware of will operate at 6 ms.
  31.  
  32. Having a low threshold of pain as far as noise is concerned, I decided to do 
  33. something about it.  The program STEPRATE is the result.
  34.  
  35. ===========================================================================
  36.  
  37. Usage:
  38.  
  39.     STEPRATE [r]
  40.  
  41. where r is 3, 6, 9 or 12
  42.  
  43. If STEPRATE is run without any parameters it will display the present step 
  44. rate.
  45.  
  46. ==========================================================================
  47.  
  48. Determining the Proper Step Rate:
  49.  
  50. How can you determine which step rate is proper for your drive?  Simple!
  51. First boot up your system.  Set the step rate at 12 ms by the following:
  52.  
  53.     STEPRATE 12
  54.  
  55. Then insert a clean diskette into drive B or drive A in the case of a hard 
  56. disk system, and fill it up with files via a COPY *.* command.  You should 
  57. be able to hear the drive grinding away.
  58.  
  59.  
  60. Now, erase all the files from the "clean" diskette (Drive B) and set the 
  61. step rate to 9 ms via:
  62.  
  63.     STEPRATE 9 
  64.  
  65. Repeat the COPY procedure to the "empty" diskette.  The drive noise should 
  66. be different (but perhaps not less).
  67.  
  68. Next, set the step rate to 6 milliseconds via:
  69.  
  70.     STEPRATE 6
  71.  
  72. and perform the noise test using the the copy command again.
  73.  
  74. Finally, set the step rate to 3 milliseconds by:
  75.  
  76.     STEPRATE 3
  77.  
  78. and test again.
  79.  
  80. If the specified step rate is too fast for the particular drive, you will 
  81. probably get SEEK errors or BAD SECTOR error messages during the COPYing 
  82. process.  In this case, use the next higher step rate (i.e. larger number). 
  83. Once the correct step rate is found, include the command in your 
  84. AUTOEXEC.BAT file.
  85.  
  86. May peace and tranquility be yours!
  87.  
  88. Don L. Finley
  89. 310 Willow St.
  90. Mt. Carmel, TN 37642
  91. (615) 357-3355 (after 7 pm)
  92.  
  93. Toad Hall Notes:
  94. I performed a major rewrite of this code.  (And thanks to the author
  95. for providing source.)  Functionally it works the same.  However, the
  96. code is much neater and the compiled program is much smaller.
  97.  
  98. Timing Results:
  99.  
  100. These are for my 8MHz 80286 XT clone, with BUFFERS=15 (a value I determined
  101. from other testing, providing the best tradeoffs between disk access speed
  102. and memory requirements).
  103.  
  104. I have a half-height floppy drive (Fujitsu, I believe).  My BIOS has set
  105. the floppy step rate at 6ms by default (PC-DOS 3.1).
  106.  
  107. The tests were:
  108.  
  109.   1 - Use PKXARC to test an archive (80Kb or so) on A: for integrity.
  110.   2 - Use the public domain VERDISK disk verify utility to test all
  111.       tracks and sectors of A:
  112.   3 - Use the THRASHER program (which is great for really working out a
  113.       disk like a MixMaster) for extensive stepping.
  114.  
  115. I used my own TOADTIME high-definition timer (constrained by DOS's
  116. 18 ticks per second internal clock) for execution times.
  117.  
  118. Results:
  119. STEP       PKXARC        VERDISK        THRASHER
  120.  
  121. 3    8.78    9.11        25.65        3:49.48
  122.     8.90    8.95        25.60
  123.     8.85    8.90        25.76
  124.  
  125.  
  126. 6    8.79    9.01        25.87        3:57.61
  127.     8.90    8.95        25.92
  128.     8.89    8.90        25.71
  129.  
  130. 9    9.23    8.84        25.60        4:11.23
  131.     8.90    8.90        25.92
  132.     8.84    8.90        25.92
  133.  
  134. 12    10.66    10.21        25.65        4:21.61
  135.     10.32    10.33        25.54
  136.     10.33    10.33        25.98
  137.  
  138. Interpretation:
  139.  
  140.      Results with 3, 6, and 9ms step rates with "sequential" disk accesses
  141. (such as provided by large buffered disk reads) show no significant
  142. difference in disk access time.
  143.  
  144.      The difference is significant when you delay the step rate all the
  145. way to 12ms.
  146.  
  147.      With highly random disk access, such as THRASHER (or DBMS programs)
  148. require, the disk access time increases in direct relationship to increase
  149. in step time.
  150.  
  151. Conclusion:
  152.  
  153.      If your floppy disk drive will accept the 3ms rate, go ahead and use
  154. STEPRATE (or my version, STEPRAT1, renamed as you will) to set your floppy
  155. disk step rate time to 3ms (via AUTOEXEC.BAT).
  156.  
  157. David Kirschbaum
  158. Toad Hall
  159.